<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>合盘结果</title>
    <meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" name="viewport">
    <script src="{$oss}/active/newyear/js/rem.js"></script>
    <link rel="stylesheet" href="/static/valentine/2020/css/get_with_score.css">
    <style>
        .content-box .top-box {
            width: 7.5rem;
            height: 8rem;
            background: url("{$oss}/mini/astro_synastry/title_bg.png") center top no-repeat;
            background-size: 100%;
        }

        .top-box .with-icon {
            width: 0.95rem;
            height: 0.48rem;
            position: absolute;
            left: 3.275rem;
            top: 2.33rem;
            background: url("{$oss}/mini/astro_synastry/with.png") center center no-repeat;
            background-size: 100% 100%;
        }

        .content-box .item .item-value:before {
            content: '';
            display: block;
            width: 0.23rem;
            height: 0.2rem;
            position: absolute;
            left: 0;
            top: -0.09rem;
            background: url("{$oss}/mini/astro_synastry/yinhao_left.png") center center no-repeat;
            background-size: 100%;
        }

        .content-box .item .item-value:after {
            content: '';
            display: block;
            width: 0.23rem;
            height: 0.2rem;
            position: absolute;
            right: 0;
            bottom: 0;
            background: url("{$oss}/mini/astro_synastry/yinhao_right.png") center center no-repeat;
            background-size: 100%;
        }

        .content-box .item .item-title1.gx:before {
            content: '';
            display: block;
            width: 0.37rem;
            height: 0.37rem;
            position: absolute;
            left: 0;
            top: 0.025rem;
            background: url("{$oss}/mini/astro_synastry/best.png") center center no-repeat;
            background-size: 100%;
        }

        .tips-box {
            color: #999999;
            margin: 0.2rem 0 0 0.57rem;
        }

        .padding-bottom60 {
            padding-bottom: 1rem;
        }

        a {
            text-decoration: none;
        }

        .download-tips-area {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 5;
            background: #F5F5F5;
        }
        .download-tips-area .download-tips {
            width: 7.5rem;
            margin: 0 auto;
            padding: 0.15rem 0;
        }
        .download-tips-area .download-tips .download-close {
            width: 0.2rem;
            height: 0.2rem;
            display: block;
            text-align: center;
            position: absolute;
            top: 0.1rem;
            left: 0.1rem;
            cursor: pointer;
            background: #F5F5F5 url("/static/synastry/img/download-close.png") no-repeat;
            background-size: cover;
        }

        .download-tips-area .download-tips .download-logo {
            width: 0.54rem;
            height: 0.54rem;
            margin: 0 0.12rem 0 0.64rem;
            display: block;
            float: left;
            background: url("/static/synastry/img/download-logo.png") no-repeat;
            background-size: cover;
        }
        .download-tips-area .download-tips .download-title {
            font-size: 0.22rem;
            height: 0.27rem;
            line-height: 0.27rem;
            font-weight: bold;
            color: #333333;
        }
        .download-tips-area .download-tips .download-des {
            font-size: 0.22rem;
            height: 0.27rem;
            line-height: 0.27rem;
            font-weight: normal;
            color: #999999;
        }
        .download-tips-area .download-tips .download-btn {
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            color: #ffffff;
            width: 1.58rem;
            height: 0.84rem;
            font-size: 0.29rem;
            font-weight: bold;
            line-height: 0.84rem;
            text-align: center;
            background: #FF6C89;
        }

        .hr {
            height: 1px;
        }
    </style>
</head>
<body>
<div class="content-box">
    <div class="top-box">
        <div class="left-box avatar-box">
            <img onerror="onerror=null;src='/static/synastry/img/avatar-default.png'" src="{if strpos($result.avatar1,'http')=== false}{$oss}{/if}{$result.avatar1}"
                 class="left-img"
                 alt="">
            <p class="name">{$result.nickname1}</p>
        </div>
        <div class="with-icon"></div>
        <div class="right-box avatar-box">
            <img onerror="onerror=null;src='/static/synastry/img/avatar-default.png'" src="{if strpos($result.avatar1,'http')=== false}{$oss}{/if}{$result.avatar2}" alt=""
                 class="right-img">
            <p class="name">{$result.nickname2}</p>
        </div>
        <div class="result-score">
            <div class="title1">发展潜力得分</div>
            <div class="with-score">{$total_score}</div>
            <div class="left1-box text-b">
                <p class="p1">{$result.harmoniousAndConflict[0]}%</p>
                <p class="p2">和谐</p>
            </div>
            <div class="progess-box">
                <div class="progess-left icon-af"></div>
                <div class="progess-right"></div>
            </div>
            <div class="right1-box text-b">
                <p class="p1">{$result.harmoniousAndConflict[1]}%</p>
                <p class="p2">冲突</p>
            </div>
        </div>
    </div>
    <div class="content-box">
        <div class="item">
            <div class="item-title">{$result.if_love_status==1?'今生有缘':'假如恋爱'}</div>
            <div class="item-value">{$result.if_love}</div>
        </div>
        <span class="hr"></span>
        <div class="item">
            <div class="item-title1 gx">最合适的关系</div>
            {foreach name="$result.relation" item="v"}
            <div class="item-option">
                <div class="name">{$v.name_cn}</div>
                <div class="progess-box">
                    <div class="progess-index" style="width:{$v.per*100}%"></div>
                </div>
                <div class="val">{:intval($v.per*100)}%</div>
            </div>
            {/foreach}
        </div>
        <span class="hr"></span>
        <div class="item">
            <div class="item-title1 gx">关系发展潜力</div>
            <div class="tips-box">更多合盘结果在准了APP中免费查看</div>
        </div>
        <span class="hr"></span>
        <div class="item">
            <div class="item-title1 gx">整体关系评价</div>
            <div class="tips-box">更多合盘结果在准了APP中免费查看</div>
        </div>
        <span class="hr mt20 mb10"></span>
        <div class="item">
            <div class="item-title1 gx">双方在关系中的收获</div>
            <div class="tips-box">更多合盘结果在准了APP中免费查看</div>
        </div>

        <div class="padding-bottom60"></div>

        <div class="download-tips-area">
            <div class="download-tips">
                <div class="download-close"></div>
                <div class="download-logo"></div>
                <div>
                    <div class="download-title">准了APP</div>
                    <div class="download-des">前往“准了APP”查看更多星座知识</div>
                </div>
                <a href="https://at.umtrack.com/onelink/H9b4bi" class="download-btn">
                    打开APP
                </a>
            </div>
        </div>

    </div>
</div>
</body>
<script src="{$oss}active/seven/js/jquery-v2.1.1.min.js"></script>
<script>
    $('.download-tips-area .download-close').click(function () {
        $(this).parent().parent().hide();
        return false;
    })

    var cnzz_s_tag = document.createElement('script');
    cnzz_s_tag.type = 'text/javascript';
    cnzz_s_tag.async = true;
    cnzz_s_tag.charset = 'utf-8';
    cnzz_s_tag.src = 'https://w.cnzz.com/c.php?id=1279238006&async=1';
    var root_s = document.getElementsByTagName('script')[0];
    root_s.parentNode.insertBefore(cnzz_s_tag, root_s);
</script>
{include file="../apps/web/view/public/sensors.html" /}
</html>
